using System;
using System.Collections.Generic;
using System.Text;

namespace Cores
{
    public class TaiKhoan
    {
        private string _UserName;
        private string _Password;
        private int _MaQuyen;

        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

        public int MaQuyen
        {
            get { return _MaQuyen; }
            set { _MaQuyen = value; }
        }

        public TaiKhoan()
        {
            _UserName = "";
            _Password = "";
            _MaQuyen = 0;
        }

        public TaiKhoan(int ma, string user, string pass, int maq)
        {
            _UserName = user;
            _Password = pass;
            _MaQuyen = maq;
        }

        ~TaiKhoan()
        { }
    }
}
